package com.zzty.taskapp.serviceImpl;

import java.util.List;

import com.zzty.taskapp.dao.ClassGroupDAO;
import com.zzty.taskapp.daoImpl.ClassGroupDAOImpls;
import com.zzty.taskapp.entity.ClassGroup;
import com.zzty.taskapp.service.ClassGroupService;

public class ClassGroupServiceImpl implements ClassGroupService {
	ClassGroupDAO cgd=new ClassGroupDAOImpls();
	public List<ClassGroup> getGroupByClass(int classId) {
		return cgd.getGroupByClass(classId);
	}
	
	public void addGroup(int classId,String stu_ids){
		cgd.addGroup(classId, stu_ids);
	}
	
	public void updateClassGroup(int id,String stu_ids){
		cgd.updateClassGroup(id, stu_ids);
	}
}
